package com.letoken.platform.repo.app.req.mall;

import com.baomidou.mybatisplus.annotation.TableField;
import com.letoken.platform.pub.annotation.content.ContentCheck;
import com.letoken.platform.pub.annotation.content.ContentEnum;
import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.mall.po.AppMallInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "修改店铺基本信息", description = "修改店铺基本信息")
public class MallBaseInfoModifyReq implements Serializable {


    @NotNull(message = "80000007")
    @ApiModelProperty(name = "mallId", value = "店铺ID", required = true, example = "1")
    private Integer mallId;

    @ApiModelProperty(name = "mallName", value = "店铺名称", required = false, example = "十佳好店")
    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407032")
    private String mallName;


    @ApiModelProperty(name = "mallAddressInfo", value = "店铺详细地址", required = false, example = "北京市天安门")
//    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407033")
    private String mallAddressInfo;

    @ApiModelProperty(name = "logo", value = "店铺头像", required = false, example = "https://xxxx.xxx.xx/path/xxx.png")
    private String logo;


    @ApiModelProperty(name = "mallAddress", value = "店铺地址", required = false, example = "北京市天安门")
    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407033")
    private String mallAddress;

    @ApiModelProperty("城市编码")
    private String city;



    @ApiModelProperty("一级分类ID")
    private Integer oneCategory;

    @ApiModelProperty("二级分类ID")
    private Integer twoCategory;


    @ApiModelProperty("行业标签")
    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407035")
    private String label;


    @ApiModelProperty("服务标签")
//    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407035")
    private String serviceTag;

    @ApiModelProperty("公告")
    private String notice;


    @ApiModelProperty("营业开始时间")
    private String openTime;

    @ApiModelProperty("营业结束时间")
    private String closeTime;


    @ApiModelProperty(hidden = true)
    private String businessHours;


    @ApiModelProperty("店铺经度")
    private BigDecimal longitude;


    @ApiModelProperty("店铺纬度")
    private BigDecimal latitude;


}
